package cn.com.xinjinfu.pdoulcProduct.entity;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Created by android-adt on 2016/4/11.
 */
public class FindBean implements Serializable {
    private int code;
    private boolean finishNormalTask;
    private String msg;
    private int newsNumber;
    private ArrayList<OfficialNews> officialNews;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public boolean isFinishNormalTask() {
        return finishNormalTask;
    }

    public void setFinishNormalTask(boolean finishNormalTask) {
        this.finishNormalTask = finishNormalTask;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getNewsNumber() {
        return newsNumber;
    }

    public void setNewsNumber(int newsNumber) {
        this.newsNumber = newsNumber;
    }

    public ArrayList<OfficialNews> getOfficialNews() {
        return officialNews;
    }

    public void setOfficialNews(ArrayList<OfficialNews> officialNews) {
        this.officialNews = officialNews;
    }

    public static class OfficialNews{
        private String image_filename;
        private String title;
        private int id;

        public String getImage_filename() {
            return image_filename;
        }

        public void setImage_filename(String image_filename) {
            this.image_filename = image_filename;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        @Override
        public String toString() {
            return "OfficialNews{" +
                    "image_filename='" + image_filename + '\'' +
                    ", title='" + title + '\'' +
                    ", id=" + id +
                    '}';
        }
    }
}
